<?php /* Smarty version 2.6.18, created on 2016-12-12 11:31:23
         compiled from finance/m.financeteble.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<!--头部 end--> 
	<!--主体部分-->
	<form action="" method="get">	
	<div class="container" style="margin-top:70px;">   
	  <div class="row" style="margin-top:10px;">
	  <div class="col-sm-12 distance" >
	  <div class="form-group">
		<label for="" class="col-sm-2 control-label">学年学期:</label>
		<div class="col-sm-10">
		  <select class="form-control" name="semester_id">
			<option value=""> 请选择</option>
			<?php $_from = $this->_tpl_vars['semester_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
				<option value="<?php echo $this->_tpl_vars['value']['semester_id']; ?>
"<?php if ($this->_tpl_vars['value']['semester_id'] == $this->_tpl_vars['semester_id']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['value']['semester_xname']; ?>
<?php echo $this->_tpl_vars['value']['semester_name']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?> 
			</select> 
		</div>
	  </div>
	  <div class="col-xs-12 distance" >
	  <div class="form-group  text-center" style="padding-top:0px;">
	  <input type="hidden" name="finance_id" value="<?php echo $this->_tpl_vars['finance_id']; ?>
">
	  <input type="hidden" name="a" value="finance.financetablelist">
	  <button type="submit" class="btn btn-success absolutely ">
	  搜索
	  <button>
	  </div>
	  </div> 
	  </div>
	  </div>
	  </form>
	  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
	  <?php $_from = $this->_tpl_vars['financetable_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
		<table class="table table-striped table-bordered text-center"  id="middles">
		  <tr>
			<td>学年学期</td>
			<td><?php echo $this->_tpl_vars['value']['semester_xname']; ?>
<?php echo $this->_tpl_vars['value']['semester_name']; ?>
</td>
		  </tr>
		  <tr>
			<td>标题</td>
			<td><?php echo $this->_tpl_vars['value']['financetable_title']; ?>
</td>
		  </tr>
		  <tr>
			<td>提交者</td>
			<td><?php echo $this->_tpl_vars['value']['staff_name']; ?>
</td>
		  </tr>
		  <tr>
			<td>提交时间</td>
			<td><?php echo $this->_tpl_vars['create_time']; ?>
</td>
		  </tr>
		  <tr>
			<td>附件</td>
			<td><a href="index.php?a=finance.output&financetable_file=<?php echo $this->_tpl_vars['value']['financetable_file']; ?>
"><?php echo $this->_tpl_vars['value']['financetable_file']; ?>
</a></td>
		  </tr>
		  
		</table>
		<?php endforeach; endif; unset($_from); ?> 
	  </div>
	</div>
	<!--container  end--> 

	<!--主体部分  end--> 
	</form>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>